import { postRequest } from '/@/lib/axios'

// 计费规则
// 分页查询
export function chargePage(param) {
  return postRequest('/b-agent/charge/page', param)
}
// 修改计费规则
export function chargeUpdate(param) {
  return postRequest('/b-agent/charge/update', param)
}
// 修改计费规则状态
export function chargeUpdateStatus(param) {
  return postRequest('/b-agent/charge/update_status', param)
}
// 新增计费规则
export function chargeInsert(param) {
  return postRequest('/b-agent/charge/insert', param)
}
// 删除计费规则
export function chargeDelete(param) {
  return postRequest('/b-agent/charge/delete', param)
}
// 根据id查计费规则
export function chargeFindId(param) {
  return postRequest('/b-agent/charge/find_id', param)
}
